getResult

inline fun <T> Array<out T>.getResult(index: Int): Result<T>(source)

Returns the Result of Array.get call.


inline fun ByteArray.getResult(index: Int): Result<Byte>(source)

Returns the Result of ByteArray.get call.


inline fun CharArray.getResult(index: Int): Result<Char>(source)

Returns the Result of CharArray.get call.


inline fun ShortArray.getResult(index: Int): Result<Short>(source)

Returns the Result of ShortArray.get call.


inline fun IntArray.getResult(index: Int): Result<Int>(source)

Returns the Result of IntArray.get call.


inline fun LongArray.getResult(index: Int): Result<Long>(source)

Returns the Result of LongArray.get call.


inline fun FloatArray.getResult(index: Int): Result<Float>(source)

Returns the Result of FloatArray.get call.


Returns the Result of DoubleArray.get call.


Returns the Result of BooleanArray.get call.


inline fun <T> Array<out T>.getResult(index: Int, message: Array<out T>.(Int) -> String): Result<T>(source)

Returns the Result of Array.getOrThrow call.


inline fun ByteArray.getResult(index: Int, message: ByteArray.(Int) -> String): Result<Byte>(source)

Returns the Result of ByteArray.getOrThrow call.


inline fun CharArray.getResult(index: Int, message: CharArray.(Int) -> String): Result<Char>(source)

Returns the Result of CharArray.getOrThrow call.


inline fun ShortArray.getResult(index: Int, message: ShortArray.(Int) -> String): Result<Short>(source)

Returns the Result of ShortArray.getOrThrow call.


inline fun IntArray.getResult(index: Int, message: IntArray.(Int) -> String): Result<Int>(source)

Returns the Result of IntArray.getOrThrow call.


inline fun LongArray.getResult(index: Int, message: LongArray.(Int) -> String): Result<Long>(source)

Returns the Result of LongArray.getOrThrow call.


inline fun FloatArray.getResult(index: Int, message: FloatArray.(Int) -> String): Result<Float>(source)

Returns the Result of FloatArray.getOrThrow call.


inline fun DoubleArray.getResult(index: Int, message: DoubleArray.(Int) -> String): Result<Double>(source)

Returns the Result of DoubleArray.getOrThrow call.


inline fun BooleanArray.getResult(index: Int, message: BooleanArray.(Int) -> String): Result<Boolean>(source)

Returns the Result of BooleanArray.getOrThrow call.


inline fun <T> List<T>.getResult(index: Int): Result<T>(source)

Returns the Result of List.get call.


inline fun <T> List<T>.getResult(index: Int, message: List<T>.(Int) -> String): Result<T>(source)

Returns the Result of List.getOrThrow call.


inline fun <K, V> Map<K, V>.getResult(key: K, message: Map<K, V>.(K) -> String = { MISSING_KEY }): Result<V>(source)

Returns the Result of Map.getOrThrow call.